import Vue from 'vue'
import VueRouter from 'vue-router'//第一步引入路由
import './lib/mui/css/icons-extra.css'
import './lib/mui/css/mui.min.css'
// 局部导入，要哪个导入那个
import { Header } from 'mint-ui';
import app from './App.vue';//如果没有./，则会直接去node_modules里去查找
import router from './router.js';
Vue.use(VueRouter);//第二步手动安装
Vue.component(Header.name, Header);
const vm=new Vue({
    el:"#app",
    data:{},
    methods:{},
    render:c=>c(app),//createElements()
    router//注册路由对象
})